//
//  LXCommissionDetailTBVC.m
//  绿稀全球购
//
//  Created by 王敏 on 16/6/10.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import "LXCommissionDetailTBVC.h"

#import "LXCommissionDetailCell.h"



@interface LXCommissionDetailTBVC ()


@property(nonatomic,strong)NSArray * commissions;

@end

@implementation LXCommissionDetailTBVC
NSString * const LXCommissionDetailCellID = @"LXCommissionDetailCell";
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.tableView registerClass:[LXCommissionDetailCell class] forCellReuseIdentifier:LXCommissionDetailCellID];
    self.tableView.contentInset = UIEdgeInsetsMake(-35, 0, 0, 0);
    self.navigationItem.title = @"佣金明细";
}

-(void)loadData
{

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
   
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 0;
}

-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    LXCommissionDetailCell * cell = [tableView dequeueReusableCellWithIdentifier:LXCommissionDetailCellID];
    cell.model = self.commissions[indexPath.row];
    return cell;
}


-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 80;
}


@end
